SPRITE BLUE

This command will return the diffuse Blue value of the specified sprite.

  Syntax
Return Integer=SPRITE BLUE(Sprite Number)
  Parameters
Sprite Number
Integer
The sprite number

  Returns

This command will return the diffuse Blue value of the specified sprite

  Description

The value determines how much blue is used in the sprite, 255 being completely used. You should specify the Sprite Number as an integer value.

  Example Code
create animated sprite 1,"manwalking.bmp",1,16,16,1
cls
sprite 1,100,100,1
print "sprite blue value ",sprite blue(1)
do
loop
end
  See also

SPRITE Commands Menu
Index